package com.abc.chain.demo;

public class HandlerMain {

   public static void main(String[] args) throws Exception {
      MasterHandler masterHandler = new MasterHandler();
      TeacherHandler teacherHandler = new TeacherHandler();

      teacherHandler.setNext(masterHandler);

      teacherHandler.handleRequest(100L);
   }
}
